package com.macro.mall.review.dto;

import java.util.List;

public class PageResponse<T> {
    private List<T> content;      // 当前页数据
    private long totalElements;    // 总记录数
    private String applauseRate;   // 好评率

    // Getters and Setters
    public List<T> getContent() {
        return content;
    }

    public void setContent(List<T> content) {
        this.content = content;
    }

    public long getTotalElements() {
        return totalElements;
    }

    public void setTotalElements(long totalElements) {
        this.totalElements = totalElements;
    }

    public String getApplauseRate() {
        return applauseRate;
    }

    public void setApplauseRate(String applauseRate) {
        this.applauseRate = applauseRate;
    }
}
